
function getUserName() {
	return document.getElementById('username').value.replace(/(^\s*)|(\s*$)/g,
			"");
};
function getPassword() {
	return document.getElementById('password').value.replace(/(^\s*)|(\s*$)/g,
			"");
};

function ShowDiv(show_div, bg_div) {
	document.getElementById(show_div).style.display = 'block';
	document.getElementById(bg_div).style.display = 'block';
	var bgdiv = document.getElementById(bg_div);
	bgdiv.style.width = document.body.scrollWidth;
	bgdiv.style.height = $(document).height();
	$("#" + bg_div).height($(document).height());
};
function CloseDiv(show_div, bg_div) {
	document.getElementById(show_div).style.display = 'none';
	document.getElementById(bg_div).style.display = 'none';
};

$('#login-button').click(function(event) {
	alert(34);
});